package com.shensi.api.admin.domian.label.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class ButtonSwitchDto {
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "油企id")
    private Long enterpriseId;

    @ApiModelProperty(value = "全部按钮，0 表示未选择，1 表示已选择")
    private String homeAll;

    @ApiModelProperty(value = "今天按钮，0 表示未选择，1 表示已选择")
    private String homeToday;

    @ApiModelProperty(value = "昨天按钮，0 表示未选择，1 表示已选择")
    private String homeYesterday;

    @ApiModelProperty(value = "半周按钮，0 表示未选择，1 表示已选择")
    private String homeWeek;

    @ApiModelProperty(value = "本月按钮，0 表示未选择，1 表示已选择")
    private String homeMonth;

    @ApiModelProperty(value = "自定义按钮，0 表示未选择，1 表示已选择")
    private String homeCustom;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getHomeAll() {
        return homeAll;
    }

    public void setHomeAll(String homeAll) {
        this.homeAll = homeAll == null ? null : homeAll.trim();
    }

    public String getHomeToday() {
        return homeToday;
    }

    public void setHomeToday(String homeToday) {
        this.homeToday = homeToday == null ? null : homeToday.trim();
    }

    public String getHomeYesterday() {
        return homeYesterday;
    }

    public void setHomeYesterday(String homeYesterday) {
        this.homeYesterday = homeYesterday == null ? null : homeYesterday.trim();
    }

    public String getHomeWeek() {
        return homeWeek;
    }

    public void setHomeWeek(String homeWeek) {
        this.homeWeek = homeWeek == null ? null : homeWeek.trim();
    }

    public String getHomeMonth() {
        return homeMonth;
    }

    public void setHomeMonth(String homeMonth) {
        this.homeMonth = homeMonth == null ? null : homeMonth.trim();
    }

    public String getHomeCustom() {
        return homeCustom;
    }

    public void setHomeCustom(String homeCustom) {
        this.homeCustom = homeCustom == null ? null : homeCustom.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
